﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for Application
/// </summary>
namespace CE.Job
{
    public class Application
    {
        public Application()
        {
            //
            // TODO: Add constructor logic here
            //
            ClearFileds();
        }

        private Int64 _applicationid;
        private string _comments;
        private Int64 _refuserid;
        private Int64 _refjobid;
        private string _applicationstatus;
        private string _remark;
        private Int64 _verifiedby;

        //common field name
        private DateTime _createddate;
        private DateTime _modifieddate;

        //extra field for future extend
        private string _info1;
        private string _info2;
        private string _info3;
        private string _info4;
        private string _info5;
        private string _info6;
        private string _info7;
        private string _info8;
        private string _info9;
        private string _info10;

        public Int64 ApplicationID
        {
            get { return _applicationid; }
            set { _applicationid = value; }
        }

        public string Comments
        {
            get { return _comments; }
            set { _comments = value; }
        }

        public Int64 RefUserID
        {
            get { return _refuserid; }
            set { _refuserid = value; }
        }

        public Int64 RefJobID
        {
            get { return _refjobid; }
            set { _refjobid = value; }
        }

        public string ApplicationStatus
        {
            get { return _applicationstatus; }
            set { _applicationstatus = value; }
        }

        public string Remark
        {
            get { return _remark; }
            set { _remark = value; }
        }

        public Int64 VerifiedBy
        {
            get { return _verifiedby; }
            set { _verifiedby = value; }
        }

        public DateTime CreatedDate
        {
            get { return _createddate; }
            set { _createddate = value; }
        }

        public DateTime ModifiedDate
        {
            get { return _modifieddate; }
            set { _modifieddate = value; }
        }

        public string Info1
        {
            get { return _info1; }
            set { _info1 = value; }
        }

        public string Info2
        {
            get { return _info2; }
            set { _info2 = value; }
        }

        public string Info3
        {
            get { return _info3; }
            set { _info3 = value; }
        }

        public string Info4
        {
            get { return _info4; }
            set { _info4 = value; }
        }

        public string Info5
        {
            get { return _info5; }
            set { _info5 = value; }
        }

        public string Info6
        {
            get { return _info6; }
            set { _info6 = value; }
        }

        public string Info7
        {
            get { return _info7; }
            set { _info7 = value; }
        }

        public string Info8
        {
            get { return _info8; }
            set { _info8 = value; }
        }

        public string Info9
        {
            get { return _info9; }
            set { _info9 = value; }
        }

        public string Info10
        {
            get { return _info10; }
            set { _info10 = value; }
        }

        public void ClearFileds()
        {
            _applicationid = 0;
            _comments = ""; 
            _refuserid = 0;
            _refjobid = 0;
            _applicationstatus = "";
            _remark = "";
            _verifiedby = 0;
            //common field name
            _createddate = new DateTime(1900, 1, 1);
            _modifieddate = new DateTime(1900, 1, 1);

            //extra field for future extend
            _info1 = "";
            _info2 = "";
            _info3 = "";
            _info4 = "";
            _info5 = "";
            _info6 = "";
            _info7 = "";
            _info8 = "";
            _info9 = "";
            _info10 = "";
        }
    }
}